package com.dc.entity.ro;

import com.dc.entity.SparePart;
import com.dc.ro.PageRO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 备件出入库记录表
 *
 * @date 2021-11-17 14:07:09
 */
@Data
@ApiModel
public class SparePartRelationRO extends PageRO {

    @ApiModelProperty(value = "")
    private Long id;
    @ApiModelProperty(value = "编号")
    private String number;
    @ApiModelProperty(value = "领用目的 0 : 设备报修 1：设备维保")
    private Integer receivingPurpose;
    @ApiModelProperty(value = "备件名称")
    private String goodsName;
    @ApiModelProperty(value = "出/入库数量")
    private Integer stockNum;
    @ApiModelProperty(value = "0:入库 1:领用")
    private Integer type;
    @ApiModelProperty(value = "出入库时间")
    private String inOutTime;
    @ApiModelProperty(value = "工单号")
    private String billNo;
    @ApiModelProperty(value = "设备编号")
    private String serialNumber;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "操作人")
    private String creator;

    @ApiModelProperty(value = "出入库明细")
    private List<SparePart> info;


}
